package com.springbootdf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.springbootdf.Dto.GameDto;
import com.springbootdf.entity.Game;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wy
 * @since 2022-08-18
 */
@Service
public interface GameService extends IService<Game> {

    Page<GameDto> findPage(Page<Game> page, String gamename);

    void setRoleMenu(Integer gameId, Integer judge);
}
